export default {
    sou(state,val){
        state.newList.push(val)
      },
      qk(state){
      state.newList=[]
      },
    // 设置用户的信息
    SAVE_USER(state, data) {
      state.userInfo = data;
    },
    // 设置token
    SET_TOKEN(a, token) {
      a.userInfo.token = token;
    },
  };
  